package com.aaa.behind.dao;

import com.aaa.entity.BBusinessInfo;
import com.aaa.entity.GGoods;
import com.aaa.entity.GSort;
import com.aaa.entity.Map;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author whj
 * @since 2023-01-30
 */
public interface GGoodsMapper extends BaseMapper<GGoods> {


    IPage findAll(IPage page, @Param("map") Map map);
    
    @Select("select * from g_sort")
    List<GSort> findAllSort();
    
    
    @Select("select * from b_business_info")
    List<BBusinessInfo> b_business_info();


}
